<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!DOCTYPE html>
<html>
<head>
<jsp:include page="${ctx}/css_inc"></jsp:include>
<meta http-equiv="X-UA-Compatible" content="edge" />

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>触点分类管理</title>

</head>

<body class="gray-bg">

	<div class="row">
		<div class="ibox float-e-margins">
			<div class="ibox-content">
				<form class="form-horizontal m-t" id="redblackListForm">
					<div class="form-group">
						<label class="col-sm-3 control-label">手机号码：</label>
						<div class="col-sm-8">
							<input id="billId" name="billId" class="form-control" type="text">
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">名单类型：</label>
						<div class="col-sm-8">

							<select id="type" name="type" class="form-control m-b" aria-required="true" aria-invalid="false">
								<option value="1">红名单</option>
								<option value="2">黑名单</option>
							</select>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
	
	<jsp:include page="${ctx}/js_inc"></jsp:include>
	<script type="text/javascript">
	$().ready(function() {
		$("#redblackListForm").validate({
			rules : {
				billId : 'required', 
				type : 'required'
			},
			messages : {
				billId : validatorIcon + '请输入手机号码'
			}
		});

	});
	</script>
</body>

</html>
